<?php
/* @var $this ExpressComController */
/* @var $model ExpressCom */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'订单管理'=>array($this->pre_module_url.'/orderSale/saleorder'),
	'物流公司'=>array($this->pre_module_url.'/expressCom/admin'),
);

?>

<div class="pro_filter c_f">
	<?php $form=$this->beginWidget('CActiveForm', array(
		'action'=>Yii::app()->createUrl($this->route),
		'method'=>'get',
	)); ?>
		<label>公司名称：</label>
		<?php echo $form->textField($model,'zec_title',array('class'=>'i_ipt w_150 mr10')); ?>
		<label>公司标识：</label>
		<?php echo $form->textField($model,'zec_com',array('class'=>'i_ipt w_150 mr10')); ?>
		<label>接口类型：</label>
		<?php echo $form->dropDownList($model,'zec_com',ExpressCom::model()->getZecType(),array('class'=>'s_ipt w_120 mr10')); ?>
		<?php echo CHtml::submitButton(Yii::t('adm','Search'),array('class'=>'mem_bgx mem_btn01'))?>
	<?php $this->endWidget(); ?>
</div>

<table class="list_table list_table2" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<th width="40%">物流名称</th>
		<th width="20%">物流标识</th>
		<th width="20%">接口类型</th>
		<th width="20%">操作</th>
	</tr>
</table>

<?php   
$this->widget('zii.widgets.CListView', array(  
    'dataProvider'=>$model->search(),  
    'itemView'=>'_view',    
    'emptyText'=>'暂时没有数据',  
    'selectAll'=>array('ids[]','id[]'),  
	'itemsTagName'=>'table',
	'itemsOptions'=>array('class'=>'list_table list_table2','width'=>'100%','cellpadding'=>0,'cellspacing'=>0),
    'artLink'=>array(  
        //批量删除
        array(Yii::t('adm','Delete All'),$this->pre_module_url.'/expressCom/delete','确认批量删除物流信息！'),  
    ),  
	'batchItem'=>array(
		//添加到分类
		CHtml::link(Yii::t('adm','Create').'<b class="mem_bgx left"></b><b class="mem_bgx right"></b>',array('create'),array('class'=>'mem_bgx link_btn mr10')),
	),
    ));  
?>  
